package com.gyy.androidlibraryapp.beans;


import com.ymdd.library.pickerview.model.IPickerViewData;

import java.util.List;


public class CompanyInfoBean implements IPickerViewData {
  private String compCode;
  private String compName;

  //下一级数据
  private List<CompanyInfoBean> childList;

  public List<CompanyInfoBean> getChildDistrictBean() {
    return childList;
  }

  public void setChildDistrictBean(List<CompanyInfoBean> childList) {
    this.childList = childList;
  }

  public CompanyInfoBean(String compName) {
    this.compName = compName;
  }

  public String getCompCode() {
    return compCode;
  }

  public void setCompCode(String compCode) {
    this.compCode = compCode;
  }

  public String getCompName() {
    return compName;
  }

  public void setCompName(String compName) {
    this.compName = compName;
  }

  @Override
  public String getPickerViewText() {
    return compName;
  }
}
